from django import template
from django import forms
from curator.util import get_yui, get_yui_css

register = template.Library()

@register.simple_tag
def yui_base_media():
    media = forms.Media(js=get_yui('utilities', 'button', 'selector'),
                        css={'all': get_yui_css('button')}) 
    return media
